﻿using IM.Easy.Infrastructure.Query;
using System.ComponentModel.DataAnnotations;


namespace IM.Easy.SystemServices.Dtos.Versions
{
    /// <summary>
    /// 系统更新日志表查询实体
    /// </summary>
    public class ReleaseLogQueryDto : QueryBase
    {
        /// <summary>
        /// 状态 
        /// </summary>
        public int? Status { get; set; }
    }

    /// <summary>
    /// 系统更新日志表dto
    /// </summary>
    public class ReleaseLogDto
    {
        /// <summary>
        /// 主键KEY
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 版本号，遵循语义化版本规范
        /// </summary>
        public string VersionCode { get; set; }
        /// <summary>
        /// 版本的中文名称或标题
        /// </summary>
        public string VersionName { get; set; }
        /// <summary>
        /// 版本正式发布的日期
        /// </summary>
        public DateTime? ReleaseDate { get; set; }
        /// <summary>
        /// 更新内容的详细说明
        /// </summary>
        public string Summary { get; set; }
        /// <summary>
        /// 相关的文档或资源链接
        /// </summary>
        public string RelatedUrl { get; set; }
        /// <summary>
        /// 版本状态
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 删除状态
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
